package com.example.recommendationservice.repository;

import com.example.recommendationservice.entity.UserPurchaseRecord;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserPurchaseRecordRepository extends JpaRepository<UserPurchaseRecord, Long> {
    List<UserPurchaseRecord> findByUserId(String userId);
}